package com.lanchetech.user.service;


import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;
import com.lanchetech.bean.request.WsSendToUserReq;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.entity.MsgUser;
import com.lanchetech.user.config.ReturnPayInfoVO;
import org.apache.http.NameValuePair;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.IOException;
import java.util.List;


public interface CommonService {

    ReturnPayInfoVO getReturnPayInfoVO(WxPayUnifiedOrderRequest wxPayUnifiedOrderRequest);

    String createQrcode(String content, int width, int height) throws IOException;

    BaseResp postToIm(WsSendToUserReq req);

    ResultData<MsgUser> getPlatformMsgUser(Long msgUserId);

    ResultData<MsgUser> getNormalMsgUser(Long userId);
}